
    <div class="title_sidebar"><p>Danh Mục{if $is_admin}<a href="{$smarty.const.WEB_DIR}category.html" target="new" title="Quản lý danh mục">[Sửa]</a>{/if} </p>
    </div>
    <div class="danhmuc">
        <div class="arrowsidemenu">
            <ul>
            {foreach from=$topcats item=topcat}
                <li class="m-left ">
                    <div class="menuheaders " headerindex="0h"><a {if $CURENT_TOP_CATID && $CURENT_TOP_CATID==$topcat.id}style="color: yellow;" {/if} href="{$topcat.url}" {$topcat.target}>{$topcat.name}</a></div>
                    {if $topcat.subs}
                        <ul class="left-sub {if $CURENT_TOP_CATID && $CURENT_TOP_CATID==$topcat.id}m-left-ex{/if}">
                            {foreach from=$topcat.subs item=sub name=cat_sub}
                                <li title="{$sub.name}"{* {if $CURENT_TOP_CATID && $CURENT_TOP_CATID==$topcat.id}class="abv"{/if}*} id="msub_left_li_{$sub.id}"><a {if $category_id==$sub.id} style="color: yellow;" {/if}
                                                                                                                                                                                              href="{$sub.url}" {$sub.class}>{$sub.name}</a></li>
                            {/foreach}
                        </ul>
                    {/if}
                </li>

            {/foreach}
            </ul>
            <div style="clear: both;"></div>
        </div>
    </div>
{*

    <div class="title_sidebar">
        <p>Tin tức mới</p>
    </div>
    <div class="tintuc">
        <div id="conten_main_right-jcarousellite" style="visibility: visible; overflow: hidden; position: relative; z-index: 2; left: 0px;">
            <ul style="margin: 0px; padding: 0px; position: relative; list-style-type: none; z-index: 1; ">
                <li style="overflow: hidden; float: none; width: 194px; height: 20px; ">
                    <a href="tin/muc125/91.html"> Nội thất gỗ cho phòng </a>
                </li>

            </ul>
        </div>
    </div>
*}



